export const rules = {
  num: [
    {
      required: true,
      message: '手机号码是必填的~',
      trigger: blur // input输入内容什么时候验证,blur:失去焦点时;change: 输入时
    },
    {
      pattern:
        /^1(3[0-9]|4[01456879]|5[0-35-9]|6[2567]|7[0-8]|8[0-9]|9[0-35-9])\d{8}$/,
      message: '手机号码不正确~',
      trigger: 'blur'
    }
  ]
}
